// 通过axios做网络请求（建议使用）

    import request from '../config/request'
    export function getAdminList(params) {
        return request({
            url: '/courseLog/log/logsList',
            data:params,
            method: 'POST'
        })
    }
export function getGoodsName() {
  return request({
    url: '/ruoyi-goods/seller/queryAll',
    method: 'GET'
  })
}
export function getGoodsDetail(id) {
  return request({
    url: '/ruoyi-goods/seller/queryById/'+ id,
    method: 'GET'
  })
}
export function getSeckillOrder(data) {
  return request({
    url: '/ruoyi-goods/seckillOrder/saveSeckillOrder',
    method: 'POST',
    data: data
  })
}

